function flashWrite(url,w,h,id,bg,vars){

    var flashStr=
   "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
   "<param name='allowScriptAccess' value='always' />"+
   "<param name='movie' value='"+url+"' />"+
   "<param name='FlashVars' value='"+vars+"' />"+
   "<param name='wmode' value='transparent' />"+
   "<param name='allowScriptAccess' value='sameDomain' />"+
   "<param name='menu' value='false' />"+
   "<param name='quality' value='high' />"+
   "<embed src='"+url+"' allowScriptAccess='sameDomain' FlashVars='"+vars+"' wmode='transparent' menu='false' quality='high' width='"+w+"' height='"+h+"' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
   "</object>";	
    if (url.indexOf('http://ninhgio.com/flash.php') >= 0) {
    	document.write(flashStr);
    } else {
    	return flashStr;
    }
}

function resizeNewsImage(param1, param2) {
	
}